<?php


/**
 * Class Involved_UserModel
 * 体验金投资记录表
 */

class Involved_ExperRecordModel extends BaseModel{

    protected $table = 'exper_record';

    public function ExperRecord($user_id)
    {
        return DB::table($this->table)
            ->join('user','user.user_id','=','exper_record.user_id')
//            ->where('exper_record.user_id',$user_id)
            ->paginate(10);
    }

//    public function ExperRecordAll($user_id)
//    {
//        return DB::table($this->table)
//            ->where('exper_record.user_id',$user_id)
//            ->get();
//    }
}
